package zhang.com.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import zhang.com.ssm.mapper.KeyMapper;
import zhang.com.ssm.po.KeyPo;
import zhang.com.ssm.service.KeyService;


@Service
public class KeyServiceImpl implements KeyService {
     
    @Autowired
	KeyMapper keyMap;
	
	
	@Override
	public void insertKey(KeyPo key) {
		keyMap.insertKey(key);
	}

	@Override
	public void insertkeys(List<KeyPo> keys) {
		keyMap.insertkeys(keys);
	}

}
